package com.goktech.olala.core.config;

public class RespCommon {

    /**
     * API返回响应码
     */
    enum respCode{

        success_code(10000,"业务执行成功状态码"),
        error_code(-10000,"业务执行失败状态码"),

        login_success(10001,"登陆成功状态码"),
        login_error(-10001,"登陆失败状态码"),
         save_success(10002,"保存成功状态码"),
         save_error(-10002,"保存失败状态码"),
         verify_success(10003,"校验成功状态码"),
         verify_error(-10003,"校验失败状态码"),

         ;

        private Integer key;
        private String value;

        private respCode(Integer key, String value) {
            this.key = key;
            this.value = value;
        }
    }

}
